
asm03:     file format elf32-littlearm


Disassembly of section .init:

000102c8 <_init>:
   102c8:	e1a0c00d 	mov	ip, sp
   102cc:	e92ddff0 	push	{r4, r5, r6, r7, r8, r9, sl, fp, ip, lr, pc}
   102d0:	e24cb004 	sub	fp, ip, #4
   102d4:	e91baff0 	ldmdb	fp, {r4, r5, r6, r7, r8, r9, sl, fp, sp, pc}

Disassembly of section .plt:

000102d8 <abort@plt-0x14>:
   102d8:	e52de004 	push	{lr}		; (str lr, [sp, #-4]!)
   102dc:	e59fe004 	ldr	lr, [pc, #4]	; 102e8 <_init+0x20>
   102e0:	e08fe00e 	add	lr, pc, lr
   102e4:	e5bef008 	ldr	pc, [lr, #8]!
   102e8:	000102c0 	.word	0x000102c0

000102ec <abort@plt>:
   102ec:	e28fc600 	add	ip, pc, #0, 12
   102f0:	e28cca10 	add	ip, ip, #16, 20	; 0x10000
   102f4:	e5bcf2c0 	ldr	pc, [ip, #704]!	; 0x2c0

000102f8 <__deregister_frame_info@plt>:
   102f8:	e28fc600 	add	ip, pc, #0, 12
   102fc:	e28cca10 	add	ip, ip, #16, 20	; 0x10000
   10300:	e5bcf2b8 	ldr	pc, [ip, #696]!	; 0x2b8

00010304 <__uClibc_main@plt>:
   10304:	e28fc600 	add	ip, pc, #0, 12
   10308:	e28cca10 	add	ip, ip, #16, 20	; 0x10000
   1030c:	e5bcf2b0 	ldr	pc, [ip, #688]!	; 0x2b0

00010310 <__register_frame_info@plt>:
   10310:	e28fc600 	add	ip, pc, #0, 12
   10314:	e28cca10 	add	ip, ip, #16, 20	; 0x10000
   10318:	e5bcf2a8 	ldr	pc, [ip, #680]!	; 0x2a8

Disassembly of section .text:

0001031c <_start>:
   1031c:	e3a0b000 	.word	0xe3a0b000
   10320:	e3a0e000 	.word	0xe3a0e000
   10324:	e49d1004 	.word	0xe49d1004
   10328:	e1a0200d 	.word	0xe1a0200d
   1032c:	e52d2004 	.word	0xe52d2004
   10330:	e52d0004 	.word	0xe52d0004
   10334:	e59fc010 	.word	0xe59fc010
   10338:	e52dc004 	.word	0xe52dc004
   1033c:	e59f000c 	.word	0xe59f000c
   10340:	e59f300c 	.word	0xe59f300c
   10344:	eaffffee 	.word	0xeaffffee
   10348:	ebffffe7 	.word	0xebffffe7
   1034c:	000104d0 	.word	0x000104d0
   10350:	00010490 	.word	0x00010490
   10354:	000102c8 	.word	0x000102c8

00010358 <deregister_tm_clones>:
   10358:	e59f301c 	ldr	r3, [pc, #28]	; 1037c <deregister_tm_clones+0x24>
   1035c:	e59f001c 	ldr	r0, [pc, #28]	; 10380 <deregister_tm_clones+0x28>
   10360:	e0603003 	rsb	r3, r0, r3
   10364:	e3530006 	cmp	r3, #6
   10368:	912fff1e 	bxls	lr
   1036c:	e59f3010 	ldr	r3, [pc, #16]	; 10384 <deregister_tm_clones+0x2c>
   10370:	e3530000 	cmp	r3, #0
   10374:	012fff1e 	bxeq	lr
   10378:	e12fff13 	bx	r3
   1037c:	000205cf 	.word	0x000205cf
   10380:	000205cc 	.word	0x000205cc
   10384:	00000000 	.word	0x00000000

00010388 <register_tm_clones>:
   10388:	e59f1024 	ldr	r1, [pc, #36]	; 103b4 <register_tm_clones+0x2c>
   1038c:	e59f0024 	ldr	r0, [pc, #36]	; 103b8 <register_tm_clones+0x30>
   10390:	e0601001 	rsb	r1, r0, r1
   10394:	e1a01141 	asr	r1, r1, #2
   10398:	e0811fa1 	add	r1, r1, r1, lsr #31
   1039c:	e1b010c1 	asrs	r1, r1, #1
   103a0:	012fff1e 	bxeq	lr
   103a4:	e59f3010 	ldr	r3, [pc, #16]	; 103bc <register_tm_clones+0x34>
   103a8:	e3530000 	cmp	r3, #0
   103ac:	012fff1e 	bxeq	lr
   103b0:	e12fff13 	bx	r3
   103b4:	000205cc 	.word	0x000205cc
   103b8:	000205cc 	.word	0x000205cc
   103bc:	00000000 	.word	0x00000000

000103c0 <__do_global_dtors_aux>:
   103c0:	e92d4010 	push	{r4, lr}
   103c4:	e59f402c 	ldr	r4, [pc, #44]	; 103f8 <__do_global_dtors_aux+0x38>
   103c8:	e5d43000 	ldrb	r3, [r4]
   103cc:	e3530000 	cmp	r3, #0
   103d0:	18bd8010 	popne	{r4, pc}
   103d4:	ebffffdf 	bl	10358 <deregister_tm_clones>
   103d8:	e59f301c 	ldr	r3, [pc, #28]	; 103fc <__do_global_dtors_aux+0x3c>
   103dc:	e3530000 	cmp	r3, #0
   103e0:	0a000001 	beq	103ec <__do_global_dtors_aux+0x2c>
   103e4:	e59f0014 	ldr	r0, [pc, #20]	; 10400 <__do_global_dtors_aux+0x40>
   103e8:	ebffffc2 	bl	102f8 <__deregister_frame_info@plt>
   103ec:	e3a03001 	mov	r3, #1
   103f0:	e5c43000 	strb	r3, [r4]
   103f4:	e8bd8010 	pop	{r4, pc}
   103f8:	000205cc 	.word	0x000205cc
   103fc:	00000000 	.word	0x00000000
   10400:	000104e0 	.word	0x000104e0

00010404 <frame_dummy>:
   10404:	e59f3040 	ldr	r3, [pc, #64]	; 1044c <frame_dummy+0x48>
   10408:	e92d4010 	push	{r4, lr}
   1040c:	e3530000 	cmp	r3, #0
   10410:	0a000002 	beq	10420 <frame_dummy+0x1c>
   10414:	e59f1034 	ldr	r1, [pc, #52]	; 10450 <frame_dummy+0x4c>
   10418:	e59f0034 	ldr	r0, [pc, #52]	; 10454 <frame_dummy+0x50>
   1041c:	ebffffbb 	bl	10310 <__register_frame_info@plt>
   10420:	e59f0030 	ldr	r0, [pc, #48]	; 10458 <frame_dummy+0x54>
   10424:	e5903000 	ldr	r3, [r0]
   10428:	e3530000 	cmp	r3, #0
   1042c:	1a000001 	bne	10438 <frame_dummy+0x34>
   10430:	e8bd4010 	pop	{r4, lr}
   10434:	eaffffd3 	b	10388 <register_tm_clones>
   10438:	e59f301c 	ldr	r3, [pc, #28]	; 1045c <frame_dummy+0x58>
   1043c:	e3530000 	cmp	r3, #0
   10440:	0afffffa 	beq	10430 <frame_dummy+0x2c>
   10444:	e12fff33 	blx	r3
   10448:	eafffff8 	b	10430 <frame_dummy+0x2c>
   1044c:	00000000 	.word	0x00000000
   10450:	000205d0 	.word	0x000205d0
   10454:	000104e0 	.word	0x000104e0
   10458:	000204ec 	.word	0x000204ec
   1045c:	00000000 	.word	0x00000000

00010460 <add_f>:
#include <stdio.h>

int add_f(int i)
{
   10460:	e52db004 	push	{fp}		; (str fp, [sp, #-4]!)
   10464:	e28db000 	add	fp, sp, #0
   10468:	e24dd00c 	sub	sp, sp, #12
   1046c:	e50b0008 	str	r0, [fp, #-8]
	i = i + 1;
   10470:	e51b3008 	ldr	r3, [fp, #-8]
   10474:	e2833001 	add	r3, r3, #1
   10478:	e50b3008 	str	r3, [fp, #-8]

	return i;
   1047c:	e51b3008 	ldr	r3, [fp, #-8]
}
   10480:	e1a00003 	mov	r0, r3
   10484:	e24bd000 	sub	sp, fp, #0
   10488:	e49db004 	pop	{fp}		; (ldr fp, [sp], #4)
   1048c:	e12fff1e 	bx	lr

00010490 <main>:

int main()
{
   10490:	e92d4800 	push	{fp, lr}
   10494:	e28db004 	add	fp, sp, #4
   10498:	e24dd008 	sub	sp, sp, #8
	int i =10;
   1049c:	e3a0300a 	mov	r3, #10
   104a0:	e50b3008 	str	r3, [fp, #-8]
	int *p = NULL;
   104a4:	e3a03000 	mov	r3, #0
   104a8:	e50b300c 	str	r3, [fp, #-12]

	*p = add_f(i);
   104ac:	e51b0008 	ldr	r0, [fp, #-8]
   104b0:	ebffffea 	bl	10460 <add_f>
   104b4:	e1a02000 	mov	r2, r0
   104b8:	e51b300c 	ldr	r3, [fp, #-12]
   104bc:	e5832000 	str	r2, [r3]

	return 0;
   104c0:	e3a03000 	mov	r3, #0
   104c4:	e1a00003 	mov	r0, r3
   104c8:	e24bd004 	sub	sp, fp, #4
   104cc:	e8bd8800 	pop	{fp, pc}

Disassembly of section .fini:

000104d0 <_fini>:
   104d0:	e1a0c00d 	mov	ip, sp
   104d4:	e92ddff0 	push	{r4, r5, r6, r7, r8, r9, sl, fp, ip, lr, pc}
   104d8:	e24cb004 	sub	fp, ip, #4
   104dc:	e91baff0 	ldmdb	fp, {r4, r5, r6, r7, r8, r9, sl, fp, sp, pc}
